import React, {Component} from 'react';
import { Col } from 'antd';
import responsive from './responsive'

class Description extends Component {
    state={};
    render() {
        let { label,col } = this.props;
        console.log(this.props)
        return (
            <Col className={'des-item'} {...responsive[col]}>
                <label className="item-label">{label}</label>
                <span className="item-detail">{this.props.children}</span>
            </Col>
        );
    }
}
export default Description;
